<template>
	<view class="content">
				<view v-for="(item,index) in list" >{{item.phonenumber}}---{{item.nickName}}</view>
		
	</view>
</template>

<script>
import {getUserList } from '@/api/index.js';
export default {
	data() {
		return {
			list:[],
		};
	},
	onLoad() {
	this.getList()
	},
	methods: {
		getList(){
			getUserList({}).then(res => {
					this.list=res.data.rows;
				})
				.catch(err => {
					
			});
		}


		
	}
};
</script>

<style>

</style>
